package com.ljh.dao;

import com.ljh.bean.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @Author grung
 * @Date 2021/1/12 23:25
 * @Version 1.0
 */

public interface ResumeRepository extends MongoRepository<Resume,String> {

    List<Resume> findByNameEquals(String name);
    List<Resume>  findByNameAndExpectSalary(String name,double expectSalary);
}
